package com.homedo.async.mysql.support.convertor.forfieldval;

import java.time.Duration;

/**
 * @author jgshun
 * @date 2020/1/20 11:51 AM
 */
public class DurationResultFieldValConvertor implements ResultFieldValConvertorI {
    private static final DurationResultFieldValConvertor INSTANCE = new DurationResultFieldValConvertor();

    public static DurationResultFieldValConvertor getInstance() {
        return INSTANCE;
    }

    @Override
    public Duration convertor(Object columnVal) {
        return (Duration) columnVal;
    }

}
